// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/styles/reset.css'
//引入1像素边框解决方案
import './assets/styles/border.css'
//把fastclick 依赖引入到项目中
// cnpm install fastclick --save
//解决移动端点击事件300ms延迟问题
import fastClick from 'fastClick'
//安装stylus到项目依赖中，css样式快捷开发
//cnpm install stylus --save
//cnpm install stylus-loader --save
import './assets/styles/iconfont.css'
//安装 cnpm vue-awesome-swiper@2.6.7 --save
 // 轮播图插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'


Vue.config.productionTip = false
fastClick.attach(document.body)
//使用轮播图插件
Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
